cc=gcc

hcompressor : main.o huffman.o
	${cc} -o hcompressor main.o huffman.o

main.o : main.c
	${cc} -c main.c

huffman.o : huffman.c huffman.h
	${cc} -c huffman.c

clean:
	rm -f hcompressor main.o huffman.o

install:
	cp hcompressor /usr/bin/

uninstall:
	rm /usr/bin/hcompressor
